package com.ruoyi.jiaopei.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课节业务对象 tb_kj
 *
 * @author macy
 * @date 2024-04-03
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TbKjBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 班级ID
     */
    @NotNull(message = "班级ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long classId;
    private String className;

    /**
     * 排课ID
     */
    @NotNull(message = "排课ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long sortCurriculumId;

    /**
     * 课节名称
     */
    @NotBlank(message = "课节名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 课程时间
     */
    @NotNull(message = "课程时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private String courseDuration;

    /**
     * 开始时间
     */
    private String startHour;
    /**
     * 结束时间
     */
    private String endHour;


    /**
     * 创建时间
     */
    @NotNull(message = "创建时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date createdDate;


}
